package com.indexingsystem.system.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.indexingsystem.boss.admin.mapper.ResourceUpdateRecordMapper;
import com.indexingsystem.boss.entity.ResourceUpdateRecord;
import com.indexingsystem.boss.entity.ResourceUpdateRecordExample;
import com.indexingsystem.system.service.IResourceUpdateRecordService;

@Service
public class ResourceUpdateRecordServiceImpl  implements  IResourceUpdateRecordService {
	@Resource
	private ResourceUpdateRecordMapper resourceUpdateRecordMapper;
	@Override
	public long countByExample(ResourceUpdateRecordExample example) {
		// TODO Auto-generated method stub
		return resourceUpdateRecordMapper.countByExample(example);
	}

	@Override
	public int deleteByExample(ResourceUpdateRecordExample example) {
		// TODO Auto-generated method stub
		return resourceUpdateRecordMapper.deleteByExample(example);
	}

	@Override
	public int insert(ResourceUpdateRecord record) {
		// TODO Auto-generated method stub
		return resourceUpdateRecordMapper.insert(record);
	}

	@Override
	public int insertSelective(ResourceUpdateRecord record) {
		// TODO Auto-generated method stub
		return resourceUpdateRecordMapper.insertSelective(record);
	}

	@Override
	public List<ResourceUpdateRecord> selectByExample(ResourceUpdateRecordExample example) {
		// TODO Auto-generated method stub
		return resourceUpdateRecordMapper.selectByExample(example);
	}

	@Override
	public int updateByExampleSelective(ResourceUpdateRecord record, ResourceUpdateRecordExample example) {
		// TODO Auto-generated method stub
		return resourceUpdateRecordMapper.updateByExampleSelective(record,example);
	}

	@Override
	public int updateByExample(ResourceUpdateRecord record, ResourceUpdateRecordExample example) {
		// TODO Auto-generated method stub
		return resourceUpdateRecordMapper.updateByExample(record,example);
	}
	
}
